<template>
    <div>
        <el-form :inline="true" v-model="tb">
            <el-form-item label="填报名称">
                <el-input v-model="tb.fill_subject"></el-input>
            </el-form-item>
            <el-form-item label="填报人">
                <el-input v-model="tb.editer_id" ></el-input>
            </el-form-item>
            <el-form-item label="日期">
                <el-input v-model="tb.fill_date" type="date"></el-input>
            </el-form-item>
            <el-form-item>
                <el-button type="primary" @click="list()">检索</el-button>
            </el-form-item>
        </el-form>
        <h1 style="text-align: center;margin-top: 30px;margin-bottom: 30px">进度列表</h1>
        <div>
            <el-table :data="FillProgressList" >
                <el-table-column prop="id" label="填报编号" >
                </el-table-column>
                <el-table-column prop="project_name" label="项目名称" >
                </el-table-column>
                <el-table-column prop="fill_subject" label="填报名称" > </el-table-column>
                <el-table-column prop="editer_id" label="填报人"> </el-table-column>
                <el-table-column prop="fill_date" label="日期" type="date"> </el-table-column>
            </el-table>
        </div>
    </div>
</template>

<script>
    import {FillProgressService} from "../../model/ww/FillProgressService.js";
    const f = FillProgressService.getInstance()
    export default {
        name: "OutputList",
        data(){
            return {
                tb:{} ,//高级检索对象
                FillProgressList:[]  //表格数据
            }

        },
        methods:{
            list(){
                f.list(this.tb).then((response)=>{
                    this.FillProgressList=response.data.data
                })
            }
        },
        created(){
            this.list()
        }

    }
</script>

<style scoped>

</style>